<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

<h:form>  
   
  <p:toolbar>  
    <p:toolbarGroup align="left">  
        <p:commandButton value="Home" action="index?faces-redirect=true" ajax="false"/>
        <p:separator />    
        <p:commandButton value="Gestione Pacchetti" action="gestionePacchetti?faces-redirect=true" ajax="false"/>
        <p:separator />  
        <p:commandButton value="Gestione Prodotti Base" action="gestioneProdottiBase?faces-redirect=true" ajax="false"/>
        <p:separator />
        <p:commandButton value="Admin" action="/Admin/index?faces-redirect=true" ajax="false"/>
    </p:toolbarGroup>  
  
    <p:toolbarGroup align="right">
    	<h:outputText value="#{datiUtente.nomeDipendente}" style="font-size: small; margin-right: 5px; background: rgba(255,255,255, 0.4); padding: 3px;"/> 
        <p:commandButton value="Logout" action="#{logoutBean.logout}" ajax="false"/>
    </p:toolbarGroup>  
  
  </p:toolbar>  
</h:form>

</ui:composition>
